﻿<Window x:Class="GalacticClientGui.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Galactic Processor Client" Height="632.15" Width="838" Closing="Window_Closing" SnapsToDevicePixels="True" Icon="GalacticIcon.ico" ResizeMode="CanMinimize" WindowStartupLocation="CenterScreen">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="329*"/>
            <ColumnDefinition Width="134*"/>
            <ColumnDefinition Width="104*"/>
            <ColumnDefinition Width="263*"/>
        </Grid.ColumnDefinitions>
        <TextBox x:Name="OutputTextbox" IsReadOnly="True" HorizontalAlignment="Left" Height="496" Margin="10,95,0,0"   VerticalAlignment="Top" Width="810" TextChanged="OutputTextbox_TextChanged" Grid.ColumnSpan="4" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" Focusable="False"/>
        <Button Content="Start" HorizontalAlignment="Left" Margin="99,39,0,0" VerticalAlignment="Top" Width="75" Click="StartButtonClick" Grid.Column="3"/>
        <Button Content="Stop" HorizontalAlignment="Left" Margin="179,39,0,0" VerticalAlignment="Top" Width="75" Click="StopButtonClick" Grid.Column="3"/>
        <Label Content="Uri: " HorizontalAlignment="Left" Margin="145,8,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="Uri"  HorizontalAlignment="Left" Height="23" Margin="188,11,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="634" Grid.ColumnSpan="4"/>
        <Image HorizontalAlignment="Left" Height="70" Margin="10,10,0,0" VerticalAlignment="Top" Width="100" Source="GalacticIcon.png"/>
        <Button Content="Save Settings" HorizontalAlignment="Left" Margin="0,39,0,0" VerticalAlignment="Top" Width="89" Click="SaveSettingsButtonClick" Grid.Column="1"/>
        <CheckBox x:Name="AutoProcessCheckbox" Content="Process on Startup" HorizontalAlignment="Left" Margin="188,39,0,0" VerticalAlignment="Top" Width="122" Unchecked="AutoProcessCheckbox_Unchecked" Checked="AutoProcessCheckbox_Checked"/>
        <CheckBox x:Name="ExitIfNoPendingRunsCheckbox" Content="Exit if no pending runs" Grid.Column="2" HorizontalAlignment="Left" Margin="10,39,0,0" VerticalAlignment="Top" Grid.ColumnSpan="2" Width="160"/>
        <Label x:Name="WorkingOnLabel" Content="no active runs" HorizontalAlignment="Left" Margin="130,64,0,0" VerticalAlignment="Top" Width="122" Grid.Column="3"/>
        <Label Content="ClientId (blank for any runs)" HorizontalAlignment="Left" Margin="188,62,0,0" VerticalAlignment="Top" Grid.ColumnSpan="2" Width="167"/>
        <TextBox x:Name="ClientUniqueId" Grid.ColumnSpan="3" HorizontalAlignment="Left" Height="23" Margin="30,64,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="305" Grid.Column="1"/>

    </Grid>
</Window>
